package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryObject {
    private int page;
    private int rows = 10;

    public int getStartIndex(){
        return (page - 1) * rows;
    }

}